ACFWF\Models\Cart_Conditions C

Total Complexity 104
Dependencies 6
Dependents 12
Total lines 816
Lines of code 387
Logical lines of code 182
Comment lines 309
Methods 23
Properties 5

Methods 23

Method Rating Maintainability Complexity Lines of code
_sanitize_condition_field()
B
44 18 43
ajax_save_cart_conditions()
A
45 14 36
_get_product_category_condition_field_value()
A
45 12 38
implement_cart_conditions()
A
51 9 23
display_cart_condition_notice()
S
57 7 15
_get_cart_condition_notice()
S
60 7 11
condition_fields_localized_data()
S
37 1 92
_get_condition_group_value()
S
55 5 18
_sanitize_cart_conditions()
S
58 3 17
_get_disallowed_customer_user_role_condition_field_value()
S
64 4 9
_get_customer_user_role_condition_field_value()
S
64 4 9
_get_cart_quantity_condition_field_value()
S
60 2 14
initialize()
S
70 2 6
run()
S
65 2 8
_get_cart_subtotal_condition_field_value()
S
68 2 6
get_instance()
S
70 2 6
_get_customer_logged_in_status_condition_field_value()
S
75 2 4
_sanitize_condition_group()
S
69 2 7
get_product_category_options()
S
65 2 8
_save_cart_condition_notice_settings()
S
74 1 4
_save_cart_conditions()
S
78 1 3
is_cart_item_valid()
S
74 1 4
__construct()
S
71 1 6